/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package converter.core.db.entity;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 *
 * @author Snark
 */
@Entity
@Table(name = "SYS_RECORDSFILTER")
@NamedQueries({
    @NamedQuery(name = "SysRecordsfilter.findAll", query = "SELECT s FROM SysRecordsfilter s"),
    @NamedQuery(name = "SysRecordsfilter.findBySysFldorder", query = "SELECT s FROM SysRecordsfilter s WHERE s.sysFldorder = :sysFldorder"),
    @NamedQuery(name = "SysRecordsfilter.findBySysGuid", query = "SELECT s FROM SysRecordsfilter s WHERE s.sysGuid = :sysGuid"),
    @NamedQuery(name = "SysRecordsfilter.findBySysState", query = "SELECT s FROM SysRecordsfilter s WHERE s.sysState = :sysState"),
    @NamedQuery(name = "SysRecordsfilter.findBySysRev", query = "SELECT s FROM SysRecordsfilter s WHERE s.sysRev = :sysRev"),
    @NamedQuery(name = "SysRecordsfilter.findBySysCreated", query = "SELECT s FROM SysRecordsfilter s WHERE s.sysCreated = :sysCreated"),
    @NamedQuery(name = "SysRecordsfilter.findBySysUpdated", query = "SELECT s FROM SysRecordsfilter s WHERE s.sysUpdated = :sysUpdated"),
    @NamedQuery(name = "SysRecordsfilter.findBySysCreator", query = "SELECT s FROM SysRecordsfilter s WHERE s.sysCreator = :sysCreator"),
    @NamedQuery(name = "SysRecordsfilter.findBySysUser", query = "SELECT s FROM SysRecordsfilter s WHERE s.sysUser = :sysUser"),
    @NamedQuery(name = "SysRecordsfilter.findBySysGuidfk", query = "SELECT s FROM SysRecordsfilter s WHERE s.sysGuidfk = :sysGuidfk"),
    @NamedQuery(name = "SysRecordsfilter.findBySysParentguid", query = "SELECT s FROM SysRecordsfilter s WHERE s.sysParentguid = :sysParentguid"),
    @NamedQuery(name = "SysRecordsfilter.findByTableid", query = "SELECT s FROM SysRecordsfilter s WHERE s.tableid = :tableid"),
    @NamedQuery(name = "SysRecordsfilter.findByRecords", query = "SELECT s FROM SysRecordsfilter s WHERE s.records = :records")})
public class SysRecordsfilter implements Serializable {
    private static final long serialVersionUID = 1L;
    @Column(name = "SYS_FLDORDER")
    private Integer sysFldorder;
    @Id
    @Basic(optional = false)
    @Column(name = "SYS_GUID")
    private String sysGuid;
    @Column(name = "SYS_STATE")
    private Integer sysState;
    @Column(name = "SYS_REV")
    private BigInteger sysRev;
    @Column(name = "SYS_CREATED")
    @Temporal(TemporalType.TIMESTAMP)
    private Date sysCreated;
    @Column(name = "SYS_UPDATED")
    @Temporal(TemporalType.TIMESTAMP)
    private Date sysUpdated;
    @Column(name = "SYS_CREATOR")
    private String sysCreator;
    @Column(name = "SYS_USER")
    private String sysUser;
    @Column(name = "SYS_GUIDFK")
    private String sysGuidfk;
    @Column(name = "SYS_PARENTGUID")
    private String sysParentguid;
    @Column(name = "TABLEID")
    private String tableid;
    @Column(name = "RECORDS")
    private String records;

    public SysRecordsfilter() {
    }

    public SysRecordsfilter(String sysGuid) {
        this.sysGuid = sysGuid;
    }

    public Integer getSysFldorder() {
        return sysFldorder;
    }

    public void setSysFldorder(Integer sysFldorder) {
        this.sysFldorder = sysFldorder;
    }

    public String getSysGuid() {
        return sysGuid;
    }

    public void setSysGuid(String sysGuid) {
        this.sysGuid = sysGuid;
    }

    public Integer getSysState() {
        return sysState;
    }

    public void setSysState(Integer sysState) {
        this.sysState = sysState;
    }

    public BigInteger getSysRev() {
        return sysRev;
    }

    public void setSysRev(BigInteger sysRev) {
        this.sysRev = sysRev;
    }

    public Date getSysCreated() {
        return sysCreated;
    }

    public void setSysCreated(Date sysCreated) {
        this.sysCreated = sysCreated;
    }

    public Date getSysUpdated() {
        return sysUpdated;
    }

    public void setSysUpdated(Date sysUpdated) {
        this.sysUpdated = sysUpdated;
    }

    public String getSysCreator() {
        return sysCreator;
    }

    public void setSysCreator(String sysCreator) {
        this.sysCreator = sysCreator;
    }

    public String getSysUser() {
        return sysUser;
    }

    public void setSysUser(String sysUser) {
        this.sysUser = sysUser;
    }

    public String getSysGuidfk() {
        return sysGuidfk;
    }

    public void setSysGuidfk(String sysGuidfk) {
        this.sysGuidfk = sysGuidfk;
    }

    public String getSysParentguid() {
        return sysParentguid;
    }

    public void setSysParentguid(String sysParentguid) {
        this.sysParentguid = sysParentguid;
    }

    public String getTableid() {
        return tableid;
    }

    public void setTableid(String tableid) {
        this.tableid = tableid;
    }

    public String getRecords() {
        return records;
    }

    public void setRecords(String records) {
        this.records = records;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (sysGuid != null ? sysGuid.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof SysRecordsfilter)) {
            return false;
        }
        SysRecordsfilter other = (SysRecordsfilter) object;
        if ((this.sysGuid == null && other.sysGuid != null) || (this.sysGuid != null && !this.sysGuid.equals(other.sysGuid))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "javaapplication1.entity.SysRecordsfilter[ sysGuid=" + sysGuid + " ]";
    }
    
}
